[INFO] cloning repository https://github.com/biswajit150803/rust-basics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/biswajit150803/rust-basics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9bec5b65ebb5e0f8f41dd23520d7129358149f67
[INFO] checking biswajit150803/rust-basics against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbiswajit150803%2Frust-basics" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/biswajit150803/rust-basics
[INFO] finished tweaking git repo https://github.com/biswajit150803/rust-basics
[INFO] tweaked toml for git repo https://github.com/biswajit150803/rust-basics written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/biswajit150803/rust-basics on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/biswajit150803/rust-basics already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06
[INFO] running `Command { std: "docker" "start" "f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-basics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: cannot multiply `i32` by `f32`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     (mass*gravity) as f32
[INFO] [stdout]   |          ^ no implementation for `i32 * f32`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Mul<f32>` is not implemented for `i32`
[INFO] [stdout] help: the following other types implement trait `Mul<Rhs>`
[INFO] [stdout]  --> /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/ops/arith.rs:344:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul`
[INFO] [stdout]  ::: /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/ops/arith.rs:359:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul<i32>`
[INFO] [stdout]  ::: /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul<&i32>`
[INFO] [stdout]  ::: /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul`
[INFO] [stdout]   = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot multiply `i32` by `f32`
[INFO] [stdout]  --> src/main.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 |     (mass*gravity) as f32
[INFO] [stdout]   |          ^ no implementation for `i32 * f32`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the trait `Mul<f32>` is not implemented for `i32`
[INFO] [stdout] help: the following other types implement trait `Mul<Rhs>`
[INFO] [stdout]  --> /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/ops/arith.rs:344:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul`
[INFO] [stdout]  ::: /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/ops/arith.rs:359:0
[INFO] [stdout]   |
[INFO] [stdout]   = note: in this macro invocation
[INFO] [stdout]  --> /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/internal_macros.rs:22:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul<i32>`
[INFO] [stdout]  ::: /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/internal_macros.rs:33:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `i32` implements `Mul<&i32>`
[INFO] [stdout]  ::: /rustc/14e4661efa5acbf985e4fe564baae04683366cc1/library/core/src/internal_macros.rs:44:8
[INFO] [stdout]   |
[INFO] [stdout]   = note: `&i32` implements `Mul`
[INFO] [stdout]   = note: this error originates in the macro `mul_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |     println!("Hello, world! {}",cal(5.2));
[INFO] [stdout]   |                                 --- ^^^ expected `i32`, found floating-point number
[INFO] [stdout]   |                                 |
[INFO] [stdout]   |                                 arguments to this function are incorrect
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> src/main.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn cal(mass:i32)->f32{
[INFO] [stdout]   |    ^^^ --------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-basics` (bin "rust-basics") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/main.rs:7:37
[INFO] [stdout]   |
[INFO] [stdout] 7 |     println!("Hello, world! {}",cal(5.2));
[INFO] [stdout]   |                                 --- ^^^ expected `i32`, found floating-point number
[INFO] [stdout]   |                                 |
[INFO] [stdout]   |                                 arguments to this function are incorrect
[INFO] [stdout]   |
[INFO] [stdout] note: function defined here
[INFO] [stdout]  --> src/main.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn cal(mass:i32)->f32{
[INFO] [stdout]   |    ^^^ --------
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-basics` (bin "rust-basics" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06", kill_on_drop: false }`
[INFO] [stdout] f890672194dbd0c77c0b099220ccb534500b41021630549f202340328b1a3b06
